﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebUtils
{
    public abstract class UrlShortener
    {
        /// <summary>
        /// makes a short url
        /// </summary>
        /// <param name="pFullUrl"></param>
        /// <returns></returns>
        public abstract string Shorten(string pFullUrl);

        /// <summary>
        /// reverses the process. Makes a long url from a short one. 
        /// </summary>
        /// <param name="pShortUrl"></param>
        /// <returns></returns>
        public string Lengthen(string pShortUrl) { throw new NotImplementedException(); }
    }
}
